﻿@{
    Layout = null;
}
@model Freshbox2._0.MODEL.franchisee
<!DOCTYPE html>

<html>
<head>
     <link rel="shortcut icon" href="favicon.ico">
     <link rel="icon" type="image/gif" href="~/img/animated_favicon1.gif">
    <meta name="viewport" content="width=device-width" />
    <link href="~/UILibs/easyui/themes/default/easyui.css" rel="stylesheet" />
    <link href="~/UILibs/easyui/themes/icon.css" rel="stylesheet" />
    <link href="~/Css/css.css" rel="stylesheet" />

    <script src="~/Scripts/jquery-1.7.1.min.js"></script>
    <script src="~/UILibs/easyui/jquery.easyui.min.js"></script>
    <script src="~/UILibs/easyui/locale/easyui-lang-zh_CN.js"></script>

    <script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.js"></script>
    <title></title>
    <script type="text/javascript">
        $(function () {
            $("#data").datagrid({
                fit: true,
                title: '有意向加盟者信息',
                striped: true,
                rownumbers: true,
                columns:
                    [[{// // franchiseeid   franchiseename  franchiseephone  franchiseeemail  franchiseeadress
                        field: 'ck',
                        checkbox: true
                    }, {
                        field: 'franchiseeid',
                        title: '编号',
                        width: 150,
                        height: 50,
                        halign: 'center',
                        sortable: true,
                        align: 'center'
                    }, {
                        field: 'franchiseename',
                        title: '姓名',
                        width: 150,
                        height: 50,
                        halign: 'center',
                        align: 'center',

                    }, {
                        field: 'franchiseephone',
                        title: '联系电话',
                        width: 300,
                        height: 50,
                        halign: 'center',
                        align: 'center'
                    }, {
                        field: 'franchiseeemail',
                        title: '邮箱',
                        width: 200,
                        height: 50,
                        halign: 'center',
                        align: 'center'
                    }, {
                        field: 'franchiseeadress',
                        title: '地址',
                        width: 200,
                        height: 50,
                        halign: 'center',
                        align: 'center'
                    }]],
                url: '/JoinBusiness/Get',
                pagination: true,
                pageSize: 10,
                pageList: [10, 15, 20, 25],
                sortName: 'franchiseeid',
                sortOrder: 'desc',
                toolbar: '#tool'    
            });
        });
</script>
</head>
<body class="easyui-layout" style="width: 100%; height: 100%">
    <div data-options="region:'center'"  >
        <table id="data"  style="margin-top:20px"></table>
    </div>

</body>
</html>
